CString Class Reference

a string holder class More...

Inheritance diagram for CString:
Inheritance graph
[legend]
Collaboration diagram for CString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CString (UTF8StringPtr string=0)
 ~CString ()
void setUTF8String (UTF8StringPtr string)
UTF8StringPtr getUTF8String () const
IPlatformString * getPlatformString () const
Reference Counting Methods



virtual void forget ()
 decrease refcount and delete object if refcount == 0
virtual void remember ()
 increase refcount
virtual int32_t getNbReference () const
 get refcount
Message Methods



virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)

Protected Attributes

UTF8StringPtr utf8String
IPlatformString * platformString

Detailed Description

a string holder class

It's main propose is to hold a platform dependent string represenation when the string is used more than once. You should currently don't use this, it's used internally.


Constructor & Destructor Documentation

CString ( UTF8StringPtr  string = 0  ) 
~CString (  ) 

Member Function Documentation

virtual void forget (  )  [inline, virtual, inherited]

decrease refcount and delete object if refcount == 0

virtual int32_t getNbReference (  )  const [inline, virtual, inherited]

get refcount

IPlatformString* getPlatformString (  )  const [inline]
UTF8StringPtr getUTF8String (  )  const [inline]
virtual CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
) [inline, virtual, inherited]
virtual void remember (  )  [inline, virtual, inherited]

increase refcount

void setUTF8String ( UTF8StringPtr  string  ) 

Member Data Documentation

IPlatformString* platformString [protected]

The documentation for this class was generated from the following files:

Generated on Fri Nov 22 11:09:56 2013 for VSTGUI by  doxygen 1.6.1